{if !$asset.hide}
    <table class="contents {if $asset.contents}shadeLight borderLight{/if}" width="100%" cellpadding="0" cellspacing="0" border="0"
        {if $asset.contents}onclick="toggleAssets('{$asset._ooe_id}')" style="cursor:pointer"{/if}>
        <td width="40%" align="left">
            <!--img src="{$site_url}/templates/{$theme}/images/tree_{if $last}end{else}branch{/if}.png" align="absmiddle"/-->
            <a href="#" onclick="showInfo('{$asset.item.typeid}');return false;" title="{$ass.item.typename}"><img src="{$site_url}/{$asset.item.icon.icon32}" class="i32" alt="{$asset.item.typename}" align="absmiddle" /></a>
            {$asset.item.typename}</td>
        <td width="25%">{$asset.item.group.groupname}</td>
        <td width="25%">{$asset.flagText}</td>
        <td width="10%" align="right">
          {if $asset.contents}
            ({$asset.contents|@count|eveNumInt})
          {/if}
          {$asset.qty|eveNumInt}
        </td>
    </tr>
    </table>
    {if $asset.contents}
    <div style="display:none" id="{$asset._ooe_id}" class="contents">
        {foreach from=$asset.contents item=ass name='sub'}
            {include file="assetlist.html" asset=$ass last=$smarty.foreach.sub.last}
        {/foreach}
    </div>
    {/if}
{/if}